package br.usp.ime.origami.foldcut.util;

import br.usp.ime.origami.foldcut.structures.winged.WingedFace;
import br.usp.ime.origami.model.Point;

public class FixedEdge implements MoleculeEdge
{
	private Point first;

	private Point second;

	private EdgeType type;

	private WingedFace external;
	
	private WingedFace internal;
	
	public FixedEdge(Point first, Point second)
	{
		super();
		this.first = first;
		this.second = second;
	}

	public Point getStart()
	{
		return first;
	}

	public Point getEnd()
	{
		return second;
	}

	public EdgeType getType()
	{
		return this.type;
	}
	
	public void setType(EdgeType type)
	{
		this.type = type;
	}

	@Override
	public String toString()
	{
		return String.format("[Fixed %s-%s]", first, second);
	}

	public WingedFace getExternal()
	{
		return external;
	}

	public void setExternal(WingedFace external)
	{
		this.external = external;
	}

	public WingedFace getInternal()
	{
		return internal;
	}

	public void setInternal(WingedFace internal)
	{
		this.internal = internal;
	}
}
